const Mock = require('mockjs')

const data = Mock.mock({
    "list|10" : [
        {
            "title" : '@ctitle(3)',
            "list|10-20": [
                {
                    "id" : "@id",
                    "img" : '@image(100x100 , @color)',
                    "name" : "@cname",
                    "price|15-99" : 15,
                    "count" : 0,
                    "desc" : "@ctitle(8)" 
                }
            ]
        }
    ]
})

module.exports = data.list